home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Development
/
Source
/
Morpion 1.0.0 Source
/
BaseGlobals.p
next >
Wrap
Text File
|
1993-11-29
|
758b
|
45 lines
unit BaseGlobals;
interface
const
global_strh_id = 128;
save_changes_alert_id = -1;
fail_alert_id = -1;
fail_strh_id = -1;
pref_name = 1;
pref_launch_str = 2;
help_menu_text = 3;
quiting_str = 4;
closing_str = 5;
var
M_HM_Help_I: integer;
MH_Apple, MH_File, MH_Edit: menuHandle;
quitNow: boolean;
function GetGlobalString (i: integer): str255;
procedure AlertUser (i: integer);
implementation
function GetGlobalString (i: integer): str255;
var
s: str255;
begin
GetIndString(s, global_strh_id, i);
GetGlobalString := s;
end;
procedure AlertUser (i: integer);
var
s: str255;
a: integer;
begin
GetIndString(s, fail_strh_id, i);
ParamText(s, '', '', '');
a := Alert(fail_alert_id, nil);
end;
end.